/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.util.List;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import mx.itschapala.dsw2.bl.ConfirmacioBLLocal;
import mx.itschapala.dsw2.modelo.Confirmacion;
import mx.itschapala.dsw2.modelo.Register;

/**
 *
 * @author User
 */
@ManagedBean
@SessionScoped
public class ConfirmarBean {
    @EJB
    private ConfirmacioBLLocal confirmacioBL;
         List<Confirmacion> lista;
         List<Register> listaRe;
    private Confirmacion confi;
    private String accion;
    private int n;
    /**
     * Creates a new instance of ConfirmarBean
     */
    public ConfirmarBean() {
        confi=new Confirmacion();
    }
    public List<Confirmacion> getLista() {
        lista=confirmacioBL.getList();
        return lista;
    }

    public Confirmacion getConfi() {
        return confi;
    }

    public void setConfi(Confirmacion confi) {
        this.confi = confi;
    }

    
    
    
    
    
    
}
